package com.creditease.shield.config;


import org.springframework.amqp.core.CustomExchange;
import org.springframework.amqp.core.Exchange;
import org.springframework.context.annotation.Configuration;

@Configuration
public class RabbitConfig {

//	public Queue helloQueue(){
//		return new Queue("hello");
//	}
	
	public Exchange helloExchange(){
		return new CustomExchange("hello","fanout");
	}
}
